package com.zhou.juc.test05_MoreAboutSync;

/**
 * @author zhouyanxiang
 * @create 2020-08-2020/8/11-16:48
 */
public class DoNotLockString {


    String s1 = "Hello";
    String s2 = "Hello";

    public void m1(){
        synchronized (s1){

        }
    }

    public void m2(){
        synchronized (s2){

        }
    }
}
